import React, { Component } from 'react'
import { Swiper } from 'react-vant';
import { Tabs } from 'react-vant';
class App extends Component {
    render() {
        return (
            <div className='app'>
                <Swiper className="my-swipe" autoplay={3000}>
                    <Swiper.Item>1</Swiper.Item>
                    <Swiper.Item>2</Swiper.Item>
                    <Swiper.Item>3</Swiper.Item>
                    <Swiper.Item>4</Swiper.Item>
                </Swiper>
                <Tabs active="active">
                    <Tabs.TabPane title="标签 1">内容 1</Tabs.TabPane>
                    <Tabs.TabPane title="标签 2">内容 2</Tabs.TabPane>
                    <Tabs.TabPane title="标签 3">内容 3</Tabs.TabPane>
                    <Tabs.TabPane title="标签 4">内容 4</Tabs.TabPane>
                </Tabs>
            </div>
        )
    }
}

export default App